package cn.tedu.weibo1.mapper;

import cn.tedu.weibo1.pojo.entity.Comment;
import cn.tedu.weibo1.pojo.vo.CommentVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpSession;
import java.util.List;

@Repository
public interface CommentMapper {
    void insert(Comment c);
    List<CommentVo> selectByWeiboId(int id);
    void deleteByWeiboId(int id);
}
